#pragma once

typedef std::pair<unsigned char, unsigned char> Location;

class Piece
{
public:
	Piece(void);
	Location getLocation(){return m_location;}
	void setLocation(Location location){m_location = location;}
	unsigned char getTrait(){return m_trait;}
	void setTrait(unsigned char trait){m_trait = trait;}

private:	
	Location m_location;
	unsigned char m_trait;

	/*
			Traits for the Piece

			'0x00	white, small, round, no hole
			'0x01'	white, small, round, hole
			'0x02'	white, small, square, no hole
			'0x03',	white, small, square, hole
			'0x04'	white, large, round, no hole
			'0x05'	white, large, round, hole
			'0x06'	white, large, square, no hole
			'0x07'	white, large, square, hole
			'0x08'	black, small, round, no hole
			'0x09'	black, small, round, hole
			'0x0A'	black, small, square, no hole
			'0x0B'	black, small, square, hole
			'0x0C'	black, large, round, no hole
			'0x0D'	black, large, round, hole
			'0x0E'	black, large, square, no hole
			'0x0F'	black, large, square, hole
			'0xF0'	uninitialized	
	*/

/*		Location for the piece
			
			'x','y' piece in position x, y (with x and y from 0 to 3)
			all pieces are initialized to 16,16 meaning that they are out of the board
	*/

};

